package com.neuedu.spring.tx.entity;

/**
 * 项目：spring-java4
 * 创建时间：  2022-03-22   8:58
 * 作者 :jshand
 * 描述 :
 */


public class Account {

    private Integer id;
    private String name;
    private Double amount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", amount=" + amount +
                '}';
    }
}
